// IPreset.cs
//
//  Copyright (C) 2007-2008 Chris Howie
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 3 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
//
//

using System;

namespace OpenVP {
	/// <summary>
	/// Interface to be implemented by preset types.
	/// </summary>
	public interface IPreset {
		/// <summary>
		/// Returns an effect by name.
		/// </summary>
		/// <param name="name">
		/// The effect name to find.
		/// </param>
		/// <returns>
		/// The effect with the specified name, or null if no such effect was
		/// found.
		/// </returns>
		Effect GetEffect(string name);
	}
}
